#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# @Author: renjin@bit.edu.cn
# @Date  : 2024-11-18

import cv2

from spirems import Subscriber, QoS
import threading
import time
import json

def callback_f(msg):
    print(msg['data'][:5])
    # print(msg['str2'])


sub = Subscriber('/hello/speed', 'std_msgs::NumberMultiArray', callback_f, qos=QoS.Reliability)
